package top.buaarobot.webserver.repository;

import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;
import top.buaarobot.webserver.domain.Member;

import java.util.List;

@Repository
public interface MemberRepository extends CrudRepository<Member,Integer> {
    List<Member> findAllByOrderByWeight();
}
